rust: Regenerate and release 0.20.4
authorColin Walters <walters@verbum.org>
Mon, 21 Jul 2025 21:01:04 +0000 (17:01 -0400)
committerColin Walters <walters@verbum.org>
Mon, 21 Jul 2025 21:02:05 +0000 (17:02 -0400)
This ensures we actually pick up the changes for `Since`.

Cargo.toml
rust-bindings/src/auto/deployment.rs
rust-bindings/src/auto/sysroot.rs
rust-bindings/src/auto/versions.txt
rust-bindings/sys/src/auto/versions.txt
rust-bindings/sys/src/lib.rs

index 7d1fc5547bca4ed91024a4ed609544d36c986a06..d2581434666a0d408fe0b7fe6b34ec977d62830d 100644 (file)
@@ -9,7 +9,7 @@ name = "ostree"
 readme = "rust-bindings/README.md"
 repository = "https://github.com/ostreedev/ostree"
 rust-version = "1.77.0"
-version = "0.20.3"
+version = "0.20.4"
 
 include = [
     "/COPYING",
index 6a8cb11f135993860dbe2afee37d14189e2cef5f..c095dec1dede8587745ae9509a75650f4eee5445 100644 (file)
@@ -147,6 +147,8 @@ impl Deployment {
         }
     }
 
+    #[cfg(feature = "v2025_3")]
+    #[cfg_attr(docsrs, doc(cfg(feature = "v2025_3")))]
     #[doc(alias = "ostree_deployment_is_soft_reboot_target")]
     pub fn is_soft_reboot_target(&self) -> bool {
         unsafe {
index 397d9c9b729f1621e2e999e28720ca9a2fd096cc..7728723215062d3f9b1d144a790ab94f9970a230 100644 (file)
@@ -74,6 +74,8 @@ impl Sysroot {
     //    unsafe { TODO: call ffi:ostree_sysroot_cleanup_prune_repo() }
     //}
 
+    #[cfg(feature = "v2025_3")]
+    #[cfg_attr(docsrs, doc(cfg(feature = "v2025_3")))]
     #[doc(alias = "ostree_sysroot_clear_soft_reboot")]
     pub fn clear_soft_reboot(&self, cancellable: Option<&impl IsA<gio::Cancellable>>) -> Result<(), glib::Error> {
         unsafe {
@@ -110,6 +112,8 @@ impl Sysroot {
         }
     }
 
+    #[cfg(feature = "v2025_3")]
+    #[cfg_attr(docsrs, doc(cfg(feature = "v2025_3")))]
     #[doc(alias = "ostree_sysroot_deployment_can_soft_reboot")]
     pub fn deployment_can_soft_reboot(&self, deployment: &Deployment) -> bool {
         unsafe {
@@ -171,6 +175,8 @@ impl Sysroot {
         }
     }
 
+    #[cfg(feature = "v2025_3")]
+    #[cfg_attr(docsrs, doc(cfg(feature = "v2025_3")))]
     #[doc(alias = "ostree_sysroot_deployment_set_soft_reboot")]
     pub fn deployment_set_soft_reboot(&self, deployment: &Deployment, allow_kernel_skew: bool, cancellable: Option<&impl IsA<gio::Cancellable>>) -> Result<(), glib::Error> {
         unsafe {
index 8df17db5aa3b90461e0211c289fc3a11609e5f24..6bc2563d5b971b135ccb2281d259135a491eb86c 100644 (file)
@@ -1,2 +1,2 @@
 Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
-from gir-files (@ 98aa788d67af)
+from gir-files (@ ac81709f18d2)
index 8df17db5aa3b90461e0211c289fc3a11609e5f24..6bc2563d5b971b135ccb2281d259135a491eb86c 100644 (file)
@@ -1,2 +1,2 @@
 Generated by gir (https://github.com/gtk-rs/gir @ 19ccbbc9a3d1)
-from gir-files (@ 98aa788d67af)
+from gir-files (@ ac81709f18d2)
index 2557d1b69045f0344775181c7a8991180528f493..c430fb7d993bdb9bd6f372ae5471338c12412e5e 100644 (file)
@@ -1674,6 +1674,8 @@ extern "C" {
     #[cfg(feature = "v2018_3")]
     #[cfg_attr(docsrs, doc(cfg(feature = "v2018_3")))]
     pub fn ostree_deployment_is_pinned(self_: *mut OstreeDeployment) -> gboolean;
+    #[cfg(feature = "v2025_3")]
+    #[cfg_attr(docsrs, doc(cfg(feature = "v2025_3")))]
     pub fn ostree_deployment_is_soft_reboot_target(self_: *mut OstreeDeployment) -> gboolean;
     #[cfg(feature = "v2018_3")]
     #[cfg_attr(docsrs, doc(cfg(feature = "v2018_3")))]
@@ -3109,6 +3111,8 @@ extern "C" {
         cancellable: *mut gio::GCancellable,
         error: *mut *mut glib::GError,
     ) -> gboolean;
+    #[cfg(feature = "v2025_3")]
+    #[cfg_attr(docsrs, doc(cfg(feature = "v2025_3")))]
     pub fn ostree_sysroot_clear_soft_reboot(
         self_: *mut OstreeSysroot,
         cancellable: *mut gio::GCancellable,
@@ -3140,6 +3144,8 @@ extern "C" {
         cancellable: *mut gio::GCancellable,
         error: *mut *mut glib::GError,
     ) -> gboolean;
+    #[cfg(feature = "v2025_3")]
+    #[cfg_attr(docsrs, doc(cfg(feature = "v2025_3")))]
     pub fn ostree_sysroot_deployment_can_soft_reboot(
         self_: *mut OstreeSysroot,
         deployment: *mut OstreeDeployment,
@@ -3181,6 +3187,8 @@ extern "C" {
         is_pinned: gboolean,
         error: *mut *mut glib::GError,
     ) -> gboolean;
+    #[cfg(feature = "v2025_3")]
+    #[cfg_attr(docsrs, doc(cfg(feature = "v2025_3")))]
     pub fn ostree_sysroot_deployment_set_soft_reboot(
         self_: *mut OstreeSysroot,
         deployment: *mut OstreeDeployment,